const app = getApp()
Component({
  options: {
    multipleSlots: true
  },
  properties: {
    backgroundColor: {
      type: String,
      value: 'rgba(0,0,0,0)'
    }
  },
  data: {},
  ready() {
    let {
      statusBarHeight,
      navBarHeight
    } = app.globalData;
    this.setData({
      statusBarHeight,
      navBarHeight
    })
    // console.log(this.data.statusBarHeight, this.data.navBarHeight)
  },
  methods: {
    back() {
      console.log('返回')
      tt.navigateBack({
        delta: 1
      })
    },
  }
})
